package controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import service.IMessageProviderService;

import javax.annotation.Resource;

/**
 * @BelongsProject: my
 * @BelongsPackage: controller
 * @Author: ji ge
 * @CreateTime: 2024-02-04  12:14
 * @Description: TODO
 * @Version: 1.0
 */
@RestController
public class SendMessageController {
    @Resource
    private IMessageProviderService iMessageProviderService;


    @GetMapping("/sendMessage")
    public String sendMessage(){
        return iMessageProviderService.send();
    }
}
